ButtonsMappableAction

An action that may be triggered when the gamepad inputs generate a specific set of button events.

Actions starting with APP_ACTION_* don't occur on the connected drone but are forwarded to the application as local intent broadcasts (see ACTION_GAMEPAD_APP_EVENT).

Other actions are predefined actions that are executed by the connected drone.

Entries

Link copied to clipboard

Sends a local broadcast intent to the application.

Link copied to clipboard

Sends a local broadcast intent to the application.

Link copied to clipboard

Sends a local broadcast intent to the application.

Link copied to clipboard

Sends a local broadcast intent to the application.

Link copied to clipboard

Sends a local broadcast intent to the application.

Link copied to clipboard

Sends a local broadcast intent to the application.

Link copied to clipboard

Sends a local broadcast intent to the application.

Link copied to clipboard

Sends a local broadcast intent to the application.

Link copied to clipboard

Sends a local broadcast intent to the application.

Link copied to clipboard

Sends a local broadcast intent to the application.

Link copied to clipboard

Sends a local broadcast intent to the application.

Link copied to clipboard

Sends a local broadcast intent to the application.

Link copied to clipboard

Sends a local broadcast intent to the application.

Link copied to clipboard

Sends a local broadcast intent to the application.

Link copied to clipboard

Sends a local broadcast intent to the application.

Link copied to clipboard

Sends a local broadcast intent to the application.

Link copied to clipboard

Commands the connected drone to return home.

Link copied to clipboard

Commands the connected drone to take off or land (depending on its current state).

Link copied to clipboard

Commands the connected drone to start recording a video.

Link copied to clipboard

Commands the connected drone to take a picture.

Link copied to clipboard

Commands the connected drone to

Link copied to clipboard

Commands the connected drone to center its camera.

Link copied to clipboard

Commands the connected drone to increase current camera exposition.

Link copied to clipboard

Commands the connected drone to decrease current camera exposition.

Link copied to clipboard

Commands the connected drone to perform a left flip.

Link copied to clipboard

Commands the connected drone to perform a right flip.

Link copied to clipboard

Commands the connected drone to perform a front flip.

Link copied to clipboard

Commands the connected drone to perform a back flip.

Link copied to clipboard

Commands the connected drone to perform an emergency motor cut-off.

Link copied to clipboard

Commands the controller to cycle between different configurations of the HUD on the external HDMI display (if present and supported by the controller.)

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.